package com.base.cn.platform.os.service.manage.planTools;

import com.base.cn.platform.os.entity.planTools.OverallAdvert;
import com.base.cn.platform.os.service.FeignAuthConfig;
import com.base.cn.platform.os.service.manage.BaseService;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * 全局广告Service
 *
 * @author lxr
 * @create 2020-06-28 18:44
 */
@FeignClient(name = BaseService.appName, configuration = FeignAuthConfig.class)
public interface OverallAdvertService extends BaseService {


    @RequestMapping(contextPath + "/overallAdvertInfo")
    OverallAdvert overallAdvertInfo();


    @RequestMapping(contextPath + "/saveEntity")
    Map saveEntity(@RequestBody OverallAdvert overallAdvert);


}
